package com.example.demo.exception;


import com.example.demo.constant.ErrorCode;
import lombok.AllArgsConstructor;

//异常类
@AllArgsConstructor
public class BaseException extends RuntimeException {

    private ErrorCode errorCode;//错误码



    public BaseException() {
    }

    public BaseException(String msg) {
        super(msg);
    }

}
